home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 26.zip / BS1 part 26 / Aztec C v5.2a disk 4.adf / 204inc_i.lzh / resources / filesysres.i < prev    next >
Text File  |  1991-03-14  |  2KB  |  54 lines

  1.     IFND    RESOURCES_FILESYSRES_I
  2. RESOURCES_FILESYSRES_I    SET    1
  3. **
  4. **    $Filename: resources/filesysres.i $
  5. **    $Release: 2.04 $
  6. **    $Revision: 36.4 $
  7. **    $Date: 90/05/03 $
  8. **
  9. **    FileSystem.resource description
  10. **
  11. **    (C) Copyright 1988,1989 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. **
  14.  
  15.     IFND    EXEC_NODES_I
  16.     INCLUDE    "exec/nodes.i"
  17.     ENDC
  18.     IFND    EXEC_LISTS_I
  19.     INCLUDE    "exec/lists.i"
  20.     ENDC
  21.     IFND    DOS_DOS_I
  22.     INCLUDE    "dos/dos.i"
  23.     ENDC
  24.  
  25. FSRNAME    MACRO
  26.         dc.b    'FileSystem.resource',0
  27.     ENDM
  28.  
  29.  STRUCTURE  FileSysResource,LN_SIZE    ; on resource list
  30.     CPTR    fsr_Creator            ; name of creator of this resource
  31.     STRUCT  fsr_FileSysEntries,LH_SIZE    ; list of FileSysEntry structs
  32.     LABEL   FileSysResource_SIZEOF
  33.  
  34.  STRUCTURE  FileSysEntry,LN_SIZE    ; on fsr_FileSysEntries list
  35.                     ; LN_NAME is of creator of this entry
  36.     ULONG   fse_DosType        ; DosType of this FileSys
  37.     ULONG   fse_Version        ; Version of this FileSys
  38.     ULONG   fse_PatchFlags    ; bits set for those of the following that need
  39.                 ;   to be substituted into a standard device
  40.                 ;   node for this file system: e.g. $180
  41.                 ;   for substitute SegList & GlobalVec
  42.     ULONG   fse_Type        ; device node type: zero
  43.     CPTR    fse_Task        ; standard dos "task" field
  44.     BPTR    fse_Lock        ; not used for devices: zero
  45.     BSTR    fse_Handler        ; filename to loadseg (if SegList is null)
  46.     ULONG   fse_StackSize    ; stacksize to use when starting task
  47.     LONG    fse_Priority    ; task priority when starting task
  48.     BPTR    fse_Startup        ; startup msg: FileSysStartupMsg for disks
  49.     BPTR    fse_SegList        ; code to run to start new task
  50.     BPTR    fse_GlobalVec    ; BCPL global vector when starting task
  51.     ; no more entries need exist than those implied by fse_PatchFlags
  52.  
  53.     ENDC    ; RESOURCES_FILESYSRES_I
  54.